package org.example.springboot137.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.springboot137.entity.Imagess;
import org.example.springboot137.mapper.ImagesMapper;
import org.example.springboot137.service.ImagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ImagesServiceImpl extends ServiceImpl<ImagesMapper, Imagess> implements ImagesService {
    @Autowired
    private ImagesMapper imagesMapper;

    @Override
    public List<Imagess> selectImages() {
        return imagesMapper.selectImages();
    }

    @Override
    public List<Imagess> selectImg(Integer aid) {
        return imagesMapper.selectImg(aid);
    }
}
